package com.zrrd.yunchmall.order.service;

import com.zrrd.yunchmall.order.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zrrd.yunchmall.user.entity.Admin;

import java.util.Map;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author YeKong
 * @since 2024-01-15
 */
public interface IOrderService extends IService<Order> {

    /**
     * 执行批量删除订单的操作，同时记录操作日志
     * @param ids 删除订单的id
     */
    void remove(String ids, Admin admin);

    /**
     * 修改收件人的信息
     * @param params
     */
    void updateReceiverInfo(Map<String, Object> params);

    void updateMoneyInfo(Map<String, Object> params, Admin admin);
}
